package com.stefanini.pe.bbva.iivs.in.bo;

import java.util.List;

import com.stefanini.pe.bbva.iivs.in.bo.iface.EstudioService;
import com.stefanini.pe.bbva.iivs.in.dao.iface.EstudioDAO;
import com.stefanini.pe.bbva.iivs.in.to.Estudio;

public class EstudioServiceImpl implements EstudioService{

	private EstudioDAO estudioDAO; 
	
	public EstudioServiceImpl(EstudioDAO estudioDAO) {
		this.estudioDAO=estudioDAO;
	}

	public int deleteByPrimaryKey(String codEstudio) {
		return this.estudioDAO.deleteByPrimaryKey(codEstudio);
	}

	public void insert(Estudio record) {
		this.estudioDAO.insert(record);
	}

	public void insertSelective(Estudio record) {
		this.estudioDAO.insertSelective(record);
	}

	public Estudio selectByPrimaryKey(String codEstudio) {
		return this.estudioDAO.selectByPrimaryKey(codEstudio);
	}

	public int updateByPrimaryKey(Estudio record) {
		return this.estudioDAO.updateByPrimaryKey(record);
	}

	public int updateByPrimaryKeySelective(Estudio record) {
		return this.estudioDAO.updateByPrimaryKeySelective(record);
	}

	public List selectDynamicWhere(Estudio record) {
		return this.estudioDAO.selectDynamicWhere(record);
	}

	public String selectNextPK() {
		return this.estudioDAO.selectNextPK();
	}

}
